home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / inst101.zip / SAMPLE.SCR < prev    next >
Text File  |  1994-09-12  |  5KB  |  125 lines

  1. ;===============================================================================
  2. ;                       Install sample script
  3. ;===============================================================================
  4. ;
  5. ;
  6. ; All lines are restricted to 80 characters.
  7. ;
  8. ; Everything after semicolon (;) is considered to be a comment and is ignored.
  9. ;
  10. ;
  11. ; Let us assume that we have the following directory structure:
  12. ;
  13. ;       \ (root)
  14. ;        |
  15. ;        |___INVEST
  16. ;        |      |
  17. ;        |      |___DATA
  18. ;        |      |
  19. ;        |      |___EXAMPLES
  20. ;        |
  21. ;        |
  22. ;
  23. ;
  24. ; and we want to distribute our new Invest System with the same directory
  25. ; structure (and the same names for directories under INVEST). After
  26. ; installation we want to run SETUP.EXE and pass parameter '/auto'.
  27. ;
  28. ;
  29. ; These are the files to be send:
  30. ;
  31. ;         directory   file name                 description
  32. ;
  33. ;         INVEST      READ.ME                   latest info
  34. ;                     INVEST.EXE                main program
  35. ;                     INV010.DLL                subprogram
  36. ;                     INV020.DLL                subprogram
  37. ;                     INV030.DLL                subprogram
  38. ;                     INV040.DLL                subprogram
  39. ;                     INVSCRN                   screen definition file
  40. ;                     SETUP.EXE                 setup program
  41. ;
  42. ;         DATA        INVCFG.DAT                configuration file
  43. ;                     INVCUST.DAT               customer file (empty)
  44. ;                     INVEVENT.DAT              event file (empty)
  45. ;
  46. ;         EXAMPLES    SAMPLE1                   sample data file #1
  47. ;                     SAMPLE2                   sample data file #2
  48. ;
  49. ;
  50. ; Following script can be used to create distribution diskette(s). Pass script
  51. ; file name as a command line parameter to INSTBLD (ie. INSTBLD SAMPLE.SCR).
  52. ;
  53. ; Note that your current directory must be \INVEST and you should have few
  54. ; formated (and empty) floppies ready.
  55. ;
  56. ; Below are the parameters which INSTBLD uses to create INSTALL.DAT. If you
  57. ; do not pass script file name, INSTBLD will prompt you for each parameter.
  58. ;
  59. ; If you want you can create script file partially. INSTBLD will ask you for
  60. ; all the missing parameters (ie. if the end of script file is at 'min CPU'
  61. ; line, INSTBLD will ask you for minimum disk space, compression speed/size
  62. ; specifier, suggested directory, program to run and files to compress).
  63. ;
  64. ;
  65. ;
  66. ;-------------------------------------------------------------------------------
  67. a                                     ;destination floppy disk
  68. read.me                               ;file to copy (uncompressed)
  69.                                       ;no more files to copy (must be blank)
  70. Copyright (c) 1994, Your name here    ;(c)
  71. Invest System Installation            ;header line for install screen
  72. 330                                   ;min DOS (3.30)
  73. 386                                   ;min CPU (386)
  74. 3000000                               ;min destination disk space (3 Mb)
  75. m                                     ;compression speed/size spec (medium)
  76. \invest                               ;suggested directory
  77. setup /auto                           ;program to run after installation
  78. invest.exe                            ;main program from \INVEST dir
  79. inv*.dll                              ;subprograms from \INVEST dir
  80. invscr                                ;screen definition file from \INVEST dir
  81. setup.exe                             ;setup program from \INVEST dir
  82. data\inv*.dat                         ;data files from \INVEST\DATA dir
  83. examples\sample?                      ;sample files from \INVEST\EXAMPLES dir
  84.                                       ;no more files to compress (must be blank)
  85. ;-------------------------------------------------------------------------------
  86. ;
  87. ; Destination diskette will contain these files:
  88. ;
  89. ;                    READ.ME
  90. ;                    INSTALL.EXE
  91. ;                    INSTALL.DAT
  92. ;
  93. ; Note that INSTALL.DAT can be spread over multiple floppies.
  94. ;
  95. ; When INSTALL.EXE is run from the distribution disk it will read INSTALL.DAT
  96. ; and create the same directory structure as above, decompress all the files
  97. ; and put them into their corresponding directories.
  98. ;
  99. ; Destination disk and base directory (in our example suggested base directory
  100. ; is \INVEST) are chosen by the end user.
  101. ;
  102. ; If, for some reasons, we want to distribute only programs (not the data
  103. ; files or sample data), just comment out (;) lines
  104. ;
  105. ;                         data\inv*.dat
  106. ;                         examples\sample?
  107. ;
  108. ;
  109. ; Hint: you might want to have two scripts for your application:
  110. ;         - one for a full blown system (programs files, data files, examples)
  111. ;         - one for a software updates (program files only).
  112. ;
  113. ;
  114. ;
  115. ; Zoran Milenovic
  116. ; Zoran Computing Co.
  117. ; 5855 N. Sheridan Rd. Suite 8-D
  118. ; Chicago IL 60660
  119. ; phone (312) 275-0029
  120. ; e-mail: zoranm@interaccess.com
  121. ;
  122. ;===============================================================================
  123. ;                      End of Install sample script
  124. ;===============================================================================
  125.